package cn.elwy.rcp.ui.explorer.core;

import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.jobs.Job;

import cn.elwy.rcp.ui.explorer.core.dao.AuditDao;

public class TaskMonitor {

  private Job job;
  private IProgressMonitor monitor;
  private AuditDao auditDao;

  public TaskMonitor(Job job, IProgressMonitor monitor) {
    super();
    this.job = job;
    this.monitor = monitor;
    auditDao = AppContext.getAudit(AuditDao.ID, AuditDao.class);
  }

  public Job getJob() {
    return job;
  }

  public void setJob(Job job) {
    this.job = job;
  }

  public IProgressMonitor getMonitor() {
    return monitor;
  }

  public AuditDao getAuditDao() {
    return auditDao;
  }

}
